import type { SelectOption } from 'naive-ui'
const list: SelectOption[] = [
  {
    label: '邀请',
    value: 'INVITE'
  },
  {
    label: '注册',
    value: 'REGISTER'
  },
  {
    label: '购买',
    value: 'BUY_PHOTO'
  },
  {
    label: '签到',
    value: 'SIGN'
  },
  {
    label: '聊天背景购买',
    value: 'BUY_COMMENT_BUY'
  },
  {
    label: '添加标签',
    value: 'ADDTAG'
  }
]

export default list

export function getInterTypeName(value: string) {
  const info = list.find((el: SelectOption) => el.value === value)
  return info?.label || value
}
